import { _decorator, Component } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('MainGame')
export class MainGame extends Component {

	onLoad(){
		let live_list = ['Camera', 'audio', 'loading'];

		this.node.children.forEach(node=>{
			node.active = live_list.includes(node.name);
		});
	}
}

